Open
Conversation
…onal-json-libraries Add JSONC/JANSSON/CJSON/JSONCPP/JSONCONS benchmark engines
…on/json.h Fix JsonCpp header detection and propagate include flags to C++ builds
…on,-yyjson,-and-glaze Add SIMDJSON, YYJSON and GLAZE engines to jsonbench
…gic-in-configure.ac Use C++ compile probe for Glaze detection in configure.ac
…epository Fix nlohmann/json autotools integration and include path
airween
reviewed
Apr 23, 2026
Member
airween
left a comment
There was a problem hiding this comment.
Beside the comment regarding to glaze, I would suggest to add more information about available parsers. At first, it would be enough hot to install them, which packages are necessary. Eg:
libjson-c-dev,libjson-c5or the current versionlibjansson-dev,libjansson4or the current versionlibcjson-dev,libcjson1or the current versionlibjsoncpp-dev,libjsoncpp26or the current versionlibsimdjson-dev,libsimdjson33or the current versionlibyyjson-dev,libyyjson0libglaze-dev(?)libjsoncons-dev
| [wantglaze="notset"] | ||
| ) | ||
|
|
||
| if test "$wantglaze" != "no"; then |
Member
There was a problem hiding this comment.
I don't if it's a package error or something else, but after I installed libglaze-dev on my Debian SID test environment, I got this message:
configure: error: glaze/glaze.hpp not found or not compilable with C++. Install glaze headers or disable with --with-glaze=no
Here is what I have:
│││ Name Version
├┼┼─═══════════════════════
ii libglaze-dev 7.3.3-1
and the verbose log:
configure:5674: checking for usable glaze/glaze.hpp with C++ compiler
configure:5687: g++ -c -g -O2 conftest.cpp >&5
In file included from /usr/include/glaze/glaze.hpp:35,
from conftest.cpp:30:
/usr/include/glaze/base64/base64.hpp: In function 'std::string glz::read_base64(std::string_view)':
/usr/include/glaze/base64/base64.hpp:28:8: error: 'glz::read_base64(std::string_view)::<lambda()>' called in a constant expression
21 | static constexpr std::array<int, 256> decode_table = [] {
| ~~~~
22 | std::array<int, 256> t;
| ~~~~~~~~~~~~~~~~~~~~~~~
23 | t.fill(-1);
| ~~~~~~~~~~~
24 | for (int i = 0; i < 64; ++i) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25 | t[base64_chars[i]] = i;
| ~~~~~~~~~~~~~~~~~~~~~~~
26 | }
| ~
27 | return t;
| ~~~~~~~~~
28 | }();
| ~^~
/usr/include/glaze/base64/base64.hpp:21:60: note: 'glz::read_base64(std::string_view)::<lambda()>' is not usable as a 'constexpr' function because:
21 | static constexpr std::array<int, 256> decode_table = [] {
| ^
/usr/include/glaze/base64/base64.hpp:23:16: error: call to non-'constexpr' function 'void std::array<_Tp, _Nm>::fill(const value_type&) [with _Tp = int; long unsigned int _Nm = 256; value_type = int]'
23 | t.fill(-1);
| ~~~~~~^~~~
In file included from /usr/include/glaze/base64/base64.hpp:6:
/usr/include/c++/15/array:123:7: note: 'void std::array<_Tp, _Nm>::fill(const value_type&) [with _Tp = int; long unsigned int _Nm = 256; value_type = int]' declared here
123 | fill(const value_type& __u)
| ^~~~
In file included from /usr/include/glaze/beve/header.hpp:13,
from /usr/include/glaze/beve.hpp:6,
from /usr/include/glaze/glaze.hpp:36:
/usr/include/glaze/core/context.hpp: At global scope:
/usr/include/glaze/core/context.hpp:130:4: error: 'concept' does not name a type; did you mean 'context'?
130 | concept is_context = requires(T& ctx) {
| ^~~~~~~
| context
/usr/include/glaze/core/context.hpp:130:4: note: 'concept' only available with '-std=c++20' or '-fconcepts'
/usr/include/glaze/core/context.hpp:147:4: error: 'concept' does not name a type; did you mean 'context'?
147 | concept has_runtime_max_string_length = requires(Ctx& ctx) {
| ^~~~~~~
| context
/usr/include/glaze/core/context.hpp:147:4: note: 'concept' only available with '-std=c++20' or '-fconcepts'
/usr/include/glaze/core/context.hpp:152:4: error: 'concept' does not name a type; did you mean 'context'?
152 | concept has_runtime_max_array_size = requires(Ctx& ctx) {
| ^~~~~~~
...
plus so-so much messages.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.